package br.com.sig.cadastro.pessoas.presentation.action;

import javax.annotation.PostConstruct;
import javax.faces.bean.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;

import br.com.sig.cadastro.endereco.business.model.bo.EnderecoBO;
import br.com.sig.cadastro.endereco.business.model.entity.Endereco;
import br.com.sig.presentation.action.BaseAction;

@Named
@ViewScoped
public class EnderecoAction extends BaseAction<Endereco> {

	private static final long serialVersionUID = 4257999460638030694L;

	@Inject
	private EnderecoBO enderecoBO;

	@PostConstruct
	public void init() {
		setService(enderecoBO);
	}
}